Integrand size = 22, antiderivative size = 44 \[ \int \csc ^2(a+b x) \sqrt {\sin (2 a+2 b x)} \, dx=-\frac {2 E\left (\left .a-\frac {\pi }{4}+b x\right |2\right )}{b}-\frac {\csc ^2(a+b x) \sin ^{\frac {3}{2}}(2 a+2 b x)}{b} \]
[Out]
Time = 0.05 (sec) , antiderivative size = 44, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {4385, 2719} \[ \int \csc ^2(a+b x) \sqrt {\sin (2 a+2 b x)} \, dx=-\frac {2 E\left (\left .a+b x-\frac {\pi }{4}\right |2\right )}{b}-\frac {\sin ^{\frac {3}{2}}(2 a+2 b x) \csc ^2(a+b x)}{b} \]
[In]
[Out]
Rule 2719
Rule 4385
Rubi steps \begin{align*} \text {integral}& = -\frac {\csc ^2(a+b x) \sin ^{\frac {3}{2}}(2 a+2 b x)}{b}-2 \int \sqrt {\sin (2 a+2 b x)} \, dx \\ & = -\frac {2 E\left (\left .a-\frac {\pi }{4}+b x\right |2\right )}{b}-\frac {\csc ^2(a+b x) \sin ^{\frac {3}{2}}(2 a+2 b x)}{b} \\ \end{align*}
Time = 0.28 (sec) , antiderivative size = 37, normalized size of antiderivative = 0.84 \[ \int \csc ^2(a+b x) \sqrt {\sin (2 a+2 b x)} \, dx=-\frac {2 \left (E\left (\left .a-\frac {\pi }{4}+b x\right |2\right )+\cot (a+b x) \sqrt {\sin (2 (a+b x))}\right )}{b} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(175\) vs. \(2(67)=134\).
Time = 4.16 (sec) , antiderivative size = 176, normalized size of antiderivative = 4.00
method | result | size |
default | \(\frac {2 \sqrt {\sin \left (2 x b +2 a \right )+1}\, \sqrt {-2 \sin \left (2 x b +2 a \right )+2}\, \sqrt {-\sin \left (2 x b +2 a \right )}\, \operatorname {EllipticE}\left (\sqrt {\sin \left (2 x b +2 a \right )+1}, \frac {\sqrt {2}}{2}\right )-\sqrt {\sin \left (2 x b +2 a \right )+1}\, \sqrt {-2 \sin \left (2 x b +2 a \right )+2}\, \sqrt {-\sin \left (2 x b +2 a \right )}\, \operatorname {EllipticF}\left (\sqrt {\sin \left (2 x b +2 a \right )+1}, \frac {\sqrt {2}}{2}\right )-2 \cos \left (2 x b +2 a \right )^{2}-2 \cos \left (2 x b +2 a \right )}{\cos \left (2 x b +2 a \right ) \sqrt {\sin \left (2 x b +2 a \right )}\, b}\) | \(176\) |
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.10 (sec) , antiderivative size = 155, normalized size of antiderivative = 3.52 \[ \int \csc ^2(a+b x) \sqrt {\sin (2 a+2 b x)} \, dx=\frac {-i \, \sqrt {2 i} E(\arcsin \left (\cos \left (b x + a\right ) + i \, \sin \left (b x + a\right )\right )\,|\,-1) \sin \left (b x + a\right ) + i \, \sqrt {-2 i} E(\arcsin \left (\cos \left (b x + a\right ) - i \, \sin \left (b x + a\right )\right )\,|\,-1) \sin \left (b x + a\right ) + i \, \sqrt {2 i} F(\arcsin \left (\cos \left (b x + a\right ) + i \, \sin \left (b x + a\right )\right )\,|\,-1) \sin \left (b x + a\right ) - i \, \sqrt {-2 i} F(\arcsin \left (\cos \left (b x + a\right ) - i \, \sin \left (b x + a\right )\right )\,|\,-1) \sin \left (b x + a\right ) - 2 \, \sqrt {2} \sqrt {\cos \left (b x + a\right ) \sin \left (b x + a\right )} \cos \left (b x + a\right )}{b \sin \left (b x + a\right )} \]
[In]
[Out]
Timed out. \[ \int \csc ^2(a+b x) \sqrt {\sin (2 a+2 b x)} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \csc ^2(a+b x) \sqrt {\sin (2 a+2 b x)} \, dx=\int { \csc \left (b x + a\right )^{2} \sqrt {\sin \left (2 \, b x + 2 \, a\right )} \,d x } \]
[In]
[Out]
\[ \int \csc ^2(a+b x) \sqrt {\sin (2 a+2 b x)} \, dx=\int { \csc \left (b x + a\right )^{2} \sqrt {\sin \left (2 \, b x + 2 \, a\right )} \,d x } \]
[In]
[Out]
Timed out. \[ \int \csc ^2(a+b x) \sqrt {\sin (2 a+2 b x)} \, dx=\int \frac {\sqrt {\sin \left (2\,a+2\,b\,x\right )}}{{\sin \left (a+b\,x\right )}^2} \,d x \]
[In]
[Out]